package com.mright.entity.custom;

import java.util.List;

import com.mright.entity.SysPermission;


public class SysPermissionCustom extends SysPermission {
	
	private List<SysPermissionCustom> subPermissions;

	public List<SysPermissionCustom> getSubPermissions() {
		return subPermissions;
	}

	public void setSubPermissions(List<SysPermissionCustom> subPermissions) {
		this.subPermissions = subPermissions;
	}
	
	public boolean isHasMenu()
	{
		return this.subPermissions!=null && this.subPermissions.size()>0;
	}
	
}
